<?php
if(isset ($_SESSION['username']))
    unset($_SESSION['username']);

session_start();
session_destroy();

header("Location: login.php");
?>
